#pragma once
#include "FXValue.h"

/**
* Wrapper around 2 integers x,y
* @author Koen Samyn
*/
class DAEInt2: public FXValue
{
public:
	/**
	* Creates a new DAEInt2 object with default values [0,0]
	*/
	DAEInt2(void);
	/**
	* Creates a new DAEInt2 object with the given values.
	* @param xValue the value for the x member.
	* @param yValue the value for the y member.
	*/
	DAEInt2(int xValue,int yValue);
	/**
	* Returns the size of the value in bytes.
	* @return the size in bytes.
	*/
	virtual int GetSizeInBytes() const{
		return 2*sizeof(int);
	}
	/**
	* Returns the pointer to the beginning of the value.
	* @return a void pointer to the beginning of the value.
	*/
	virtual const void* GetValuePointer() const{
		return &x;
	}
	/**
	* The datamembers for this DAEInt2 object.
	*/
	int x,y;
};
